package sg.edu.nus.iss.billing.gui;

import javax.swing.JPanel;
import javax.swing.JScrollPane;
import java.awt.BorderLayout;
import java.awt.GridBagLayout;
import java.awt.GridBagConstraints;

public class ComplaintSummaryPanel extends JPanel {

	/**
	 * Create the panel.
	 */
	public ComplaintSummaryPanel() {
		setLayout(new BorderLayout(0, 0));
		
		JScrollPane scrollPane = new JScrollPane();
		add(scrollPane);
		
		JPanel containingPanel = new JPanel();
		scrollPane.setViewportView(containingPanel);
		containingPanel.setLayout(new BorderLayout(0, 0));
		
		JPanel contentPanel = new JPanel();
		containingPanel.add(contentPanel, BorderLayout.NORTH);
		GridBagLayout gbl_contentPanel = new GridBagLayout();
		gbl_contentPanel.columnWidths = new int[]{0, 0};
		gbl_contentPanel.rowHeights = new int[]{0, 0};
		gbl_contentPanel.columnWeights = new double[]{1.0, Double.MIN_VALUE};
		gbl_contentPanel.rowWeights = new double[]{1.0, Double.MIN_VALUE};
		contentPanel.setLayout(gbl_contentPanel);
		
		JPanel summaryPanel = new JPanel();
		GridBagConstraints gbc_summaryPanel = new GridBagConstraints();
		gbc_summaryPanel.fill = GridBagConstraints.BOTH;
		gbc_summaryPanel.gridx = 0;
		gbc_summaryPanel.gridy = 0;
		contentPanel.add(summaryPanel, gbc_summaryPanel);

	}

}
